package com.example.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
菜品口味
 */
@Data
@TableName("dish_flavor")
public class DishFlavor implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;


    //菜品id
    private Long dishId;


    //口味名称
    private String name;


    //口味数据list
    private String value;


    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private LocalDateTime createTime;


    @TableField(fill = FieldFill.INSERT_UPDATE,value = "update_time")
    private LocalDateTime updateTime;


    @TableField(fill = FieldFill.INSERT,value = "create_user")
    private Long createUser;


    @TableField(fill = FieldFill.INSERT_UPDATE,value = "update_user")
    private Long updateUser;


    //是否删除
    @TableField(value = "is_deleted")
    private Integer isDeleted;

}
